home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
mac
/
LOGIC Apple II 5.25" Library - DOS Part 7
/
DOS217.dsk
/
READ-INSTRUCTIONS.bas
< prev
next >
Wrap
BASIC Source File
|
2012-02-16
|
902b
|
31 lines
10 REM DISPLAY INSTRUCTIONS
20 D$ = CHR$(4):F$ = "INSTRUCTIONS"
30 DIM LINES$(200)
40 HOME
50 ONERR GOTO 1000
52 PRINT
55 VTAB 1: HTAB 1: INVERSE : PRINT SPC( 13);"INSTRUCTIONS:";: PRINT SPC( 14);
56 POKE 34,1
57 NORMAL
65 PRINT
68 PRINT D$;"BLOAD IN$.OBJ,A$300"
70 PRINT D$;"OPEN ";F$
75 PRINT D$;"READ ";F$
80 FOR I = 1 TO 200
90 IF ERR < >0 THEN I = 200: GOTO 200
110 ER = 0: IF ERR = 0 THEN CALL 768,LINE$(I)
200 NEXT
210 PRINT D$;"CLOSE"
220 FOR I = 1 TO 200
222 IF LEFT$(LINE$(I),1) = ">" THEN VTAB 23: PRINT SPC( 5);"PRESS SPACE BAR TO CONTINUE ";: GET A$: HOME
225 LINE$(I) = MID$ (LINE$(I),2,38)
230 IF LEN(LINE$(I)) >0 THEN PRINT LINE$(I)
900 NEXT
995 POKE 34,0: PRINT
996 PRINT CHR$(4);"RUN E/ROOTS"
999 END
1000 ERR = PEEK(222)
1010 IF ER = 5 THEN RESUME
1020 PRINT "ERROR CODE: ";ERR
1030 END
1035 PRINT PEEK(218) +256 * PEEK(219)